﻿using ConfExpert.Forms.Base;
using DevTeam;

using System;
namespace ConfExpert.Forms.Depo
{
    public partial class OnlineRezerveTum : XForm
    {
        public OnlineRezerveTum()
        {
            InitializeComponent();
        }

        private void OnlineRezerveTum_Load(object sender, EventArgs e)
        {
            this.
            gvCustomer.Init("GetOnlineReservationByCustomer", false);
            gvCustomer.AddDetailGrid(gvUser, "CustomerId");
            gvUser.MakeColumnInvisible("CustomerId");

            gvUser.AddSummary();
            gvCustomer.FormatAsDate("TalepTarihi");
            gvCustomer.FormatAsNumber(0, "Yeni", "Onaylanan", "Reddedilen");
            gvCustomer.AddSummary("Yeni", "Onaylanan", "Reddedilen");
            gvCustomer.BestFitColumns();
            splitContainerControl2.AutoSize();
        }
    }
}
